const config = [
  {
    path: "/app/sku",
    name: "sku",
    component: (resolve) =>
      require(["../components/page/config/sku/Sku.vue"], resolve),
    meta: { title: "config.sku", flag: false, noClear: true },
    children: [
      {
        path: "/skuDeawer",
        name: "skuDeawer",
        component: (resolve) =>
          require(["../components/page/config/sku/deawer/Deawer.vue"], resolve),
        meta: { title: "config.sku", flag: true },
      },
    ],
  },
  /*{
      path: "/skuDeawer",
      name: "skuDeawer",
      component: resolve => require(["../components/page/config/sku/deawer/Deawer.vue"], resolve),
      meta: { title: "config.sku", flag: true }
    },*/

  {
    path: "/app/pack",
    name: "pack",
    component: (resolve) =>
      require(["../components/page/config/pack/Pack.vue"], resolve),
    meta: { title: "config.packaging", flag: false, noClear: true },
    children: [
      {
        path: "/packDeawer",
        name: "packDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/pack/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.packaging", flag: true },
      },
    ],
  },

  {
    path: "/app/cartonization",
    name: "cartonization",
    component: (resolve) =>
      require([
        "../components/page/config/cartonization/cartonization.vue",
      ], resolve),
    meta: { title: "config.carton", flag: false, noClear: true },
    children: [
      {
        path: "/cartonizationDeawer",
        name: "cartonizationDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/cartonization/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.carton", flag: true },
      },
    ],
  },

  {
    path: "/app/zone",
    name: "zone",
    component: (resolve) =>
      require(["../components/page/config/zone/Zone.vue"], resolve),
    meta: { title: "config.putZone", flag: false, noClear: true },
    children: [
      {
        path: "/zoneDeawer",
        name: "zoneDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/zone/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.putZone", flag: true },
      },
    ],
  },

  {
    path: "/app/loc",
    name: "loc",
    component: (resolve) =>
      require(["../components/page/config/loc/Loc.vue"], resolve),
    meta: { title: "config.loc", flag: false, noClear: true },
    children: [
      {
        path: "/locDeawer",
        name: "locDeawer",
        component: (resolve) =>
          require(["../components/page/config/loc/deawer/Deawer.vue"], resolve),
        meta: { title: "config.loc", flag: true },
      },
    ],
  },
  {
    path: "/batchCreate",
    name: "batchCreateLoc",
    component: (resolve) =>
      require(["../components/page/config/loc/details/batchCreate.vue"], resolve),
    meta: { title: "router.batchCreateLoc", flag: false },
  },
  {
    path: "/insideWarehouse",
    name: "insideWarehouse",
    component: (resolve) =>
      require(["../components/page/config/insideWarehouse/index.vue"], resolve),
    meta: { title: "router.insideWarehouse", flag: false },
  },
  {
    path: "/app/owner",
    name: "owner",
    component: (resolve) =>
      require(["../components/page/config/partner/owner/Owner.vue"], resolve),
    meta: { title: "config.shipper", flag: false, noClear: true },
    children: [
      {
        path: "/ownerDeawer",
        name: "ownerDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/partner/owner/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.shipper", flag: true },
      },
    ],
  },

  {
    path: "/app/shipto",
    name: "shipto",
    component: (resolve) =>
      require(["../components/page/config/partner/shipto/Shipto.vue"], resolve),
    meta: { title: "config.deliveryAddress", flag: false, noClear: true },
    children: [
      {
        path: "/shiptoDeawer",
        name: "shiptoDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/partner/shipto/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.deliveryAddress", flag: true },
      },
    ],
  },

  {
    path: "/app/vender",
    name: "vender",
    component: (resolve) =>
      require(["../components/page/config/partner/vender/Vender.vue"], resolve),
    meta: { title: "config.supplier", flag: false, noClear: true },
    children: [
      {
        path: "/venderDeawer",
        name: "venderDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/partner/vender/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.supplier", flag: true },
      },
    ],
  },

  {
    path: "/app/carrier",
    name: "carrier",
    component: (resolve) =>
      require([
        "../components/page/config/partner/carrier/Carrier.vue",
      ], resolve),
    meta: { title: "config.carrier", flag: false, noClear: true },
    children: [
      {
        path: "/carrierDeawer",
        name: "carrierDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/partner/carrier/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.carrier", flag: true },
      },
    ],
  },

  {
    path: "/app/clientele",
    name: "clientele",
    component: (resolve) =>
      require([
        "../components/page/config/partner/clientele/Clientele.vue",
      ], resolve),
    meta: { title: "bill.customer", flag: false, noClear: true },
    children: [
      {
        path: "/clienteleDeawer",
        name: "clienteleDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/partner/clientele/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "bill.customer", flag: true },
      },
    ],
  },

  {
    path: "/app/putaway",
    name: "putaway",
    component: (resolve) =>
      require([
        "../components/page/config/strategy/putaway/Putaway.vue",
      ], resolve),
    meta: { title: "config.putaway", flag: false },
  },
  {
    path: "/putawayDeawer",
    name: "putawayDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/strategy/putaway/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "config.putaway", flag: true },
  },

  {
    path: "/app/allocate",
    name: "allocate",
    component: (resolve) =>
      require([
        "../components/page/config/strategy/allocate/Allocate.vue",
      ], resolve),
    meta: { title: "out.allocation", flag: false },
  },
  {
    path: "/allocateDeawer",
    name: "allocateDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/strategy/allocate/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "out.allocation", flag: true },
  },

  {
    path: "/app/system/list",
    name: "system",
    component: (resolve) =>
      require(["../components/page/config/code/system/System.vue"], resolve),
    meta: { title: "数据字典", flag: false },
  },
  {
    path: "/systemDeawer",
    name: "systemDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/code/system/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "数据字典", flag: true },
  },
  {
    path: "/app/system/serial",
    name: "SysNumberRule",
    component: (resolve) =>
      require([
        "../components/page/config/serial/serial.vue",
      ], resolve),
    meta: { title: "系统编号", flag: false, noClear: true },
  },
  {
    path: "/app/system/InternationalSetting",
    name: "InternationalSetting",
    component: (resolve) =>
      require([
        "../components/page/config/InternationalSetting/index.vue",
      ], resolve),
    meta: { title: "config.InternationalSetting", flag: false, noClear: true },
  },

  {
    path: "/app/inventoryholdcode",
    name: "inventoryholdcode",
    component: (resolve) =>
      require([
        "../components/page/config/code/inventoryholdcode/inventoryholdcode.vue",
      ], resolve),
    meta: { title: "config.freezeReason", flag: false, noClear: true },
    children: [
      {
        path: "/inventoryholdcodeDeawer",
        name: "inventoryholdcodeDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/code/inventoryholdcode/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.freezeReason", flag: true },
      },
    ],
  },

  {
    path: "/app/taskmanagerreason",
    name: "taskmanagerreason",
    component: (resolve) =>
      require([
        "../components/page/config/code/taskmanagerreason/taskmanagerreason.vue",
      ], resolve),
    meta: { title: "router.taskmanagerreason", flag: false, noClear: true },
    children: [
      {
        path: "/taskmanagerreasonDeawer",
        name: "taskmanagerreasonDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/code/taskmanagerreason/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "router.taskmanagerreason", flag: true },
      },
    ],
  },

  {
    path: "/app/holdallocationmatrix",
    name: "holdallocationmatrix",
    component: (resolve) =>
      require([
        "../components/page/config/code/holdallocationmatrix/holdallocationmatrix.vue",
      ], resolve),
    meta: { title: "config.freezeAllot", flag: false, noClear: true },
    children: [
      {
        path: "/holdallocationmatrixDeawer",
        name: "holdallocationmatrixDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/code/holdallocationmatrix/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.freezeAllot", flag: true },
      },
    ],
  },

  {
    path: "/app/receiptvalidation",
    name: "receiptvalidation",
    component: (resolve) =>
      require([
        "../components/page/config/validation/receiptvalidation/receiptvalidation.vue",
      ], resolve),
    meta: { title: "config.packValidate", flag: false, noClear: true },
    children: [
      {
        path: "/receiptvalidationDeawer",
        name: "receiptvalidationDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/validation/receiptvalidation/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.packValidate", flag: true },
      },
    ],
  },

  {
    path: "/app/lottable1/list",
    name: "lottable1",
    component: (resolve) =>
      require([
        "../components/page/config/validation/lottable1/lottable1.vue",
      ], resolve),
    meta: { title: "config.batchProp", flag: false },
  },
  {
    path: "/lottableDeawer1",
    name: "lottableDeawer1",
    component: (resolve) =>
      require([
        "../components/page/config/validation/lottable1/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "config.batchProp", flag: true },
  },
  {
    path: "/app/lottable",
    name: "lottable",
    component: (resolve) =>
      require([
        "../components/page/config/validation/lottable/lottable.vue",
      ], resolve),
    meta: { title: "config.batchProp", flag: false },
  },
  {
    path: "/lottableDeawer",
    name: "lottableDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/validation/lottable/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "config.batchProp", flag: true },
  },

  {
    path: "/app/area",
    name: "area",
    component: (resolve) =>
      require(["../components/page/config/area/area.vue"], resolve),
    meta: { title: "config.area", flag: false },
  },
  {
    path: "/areaDeawer",
    name: "areaDeawer",
    component: (resolve) =>
      require(["../components/page/config/area/deawer/Deawer.vue"], resolve),
    meta: { title: "config.area", flag: true },
  },

  {
    path: "/app/AreaDetails",
    name: "AreaDetails",
    component: (resolve) =>
      require([
        "../components/page/config/areaDetails/AreaDetails.vue",
      ], resolve),
    meta: { title: "config.areaDetail", flag: false },
  },

  {
    path: "/app/taskmanageruser/list",
    name: "taskmanageruser",
    component: (resolve) =>
      require([
        "../components/page/config/taskmanageruser/taskmanageruser.vue",
      ], resolve),
    meta: { title: "router.userarea", flag: false },
  },
  {
    path: "/taskmanageruserDeawer",
    name: "taskmanageruserDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/taskmanageruser/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "router.userarea", flag: true },
  },

  {
    path: "/app/warehouse",
    name: "warehouse",
    component: (resolve) =>
      require(["../components/page/config/warehouse/warehouse.vue"], resolve),
    meta: { title: "config.wareSetting", flag: false, noClear: true },
    children: [
      {
        path: "/warehouseDeawer",
        name: "warehouseDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/warehouse/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.wareSetting", flag: true },
      },
    ],
  },

  {
    path: "/app/bom/list",
    name: "bom",
    component: (resolve) =>
      require(["../components/page/config/bom/bom.vue"], resolve),
    meta: { title: "config.bom", flag: false, noClear: true },
    children: [
      {
        path: "/bomDeawer",
        name: "bomDeawer",
        component: (resolve) =>
          require(["../components/page/config/bom/deawer/Deawer.vue"], resolve),
        meta: { title: "config.bom", flag: true },
      },
    ],
  },

  {
    path: "/app/altsku/list",
    name: "altsku",
    component: (resolve) =>
      require(["../components/page/config/altsku/altsku.vue"], resolve),
    meta: { title: "config.spareGoods", flag: false, noClear: true },
    children: [
      {
        path: "/altskuDeawer",
        name: "altskuDeawer",
        component: (resolve) =>
          require([
            "../components/page/config/altsku/deawer/Deawer.vue",
          ], resolve),
        meta: { title: "config.spareGoods", flag: true },
      },
    ],
  },

  {
    path: "/app/kdfreightkd/list",
    name: "kdfreightkd",
    component: (resolve) =>
      require([
        "../components/page/config/kdfreightkd/kdfreightkd.vue",
      ], resolve),
    meta: { title: "config.expressSetting", flag: false },
  },
  {
    path: "/kdfreightkdDeawer",
    name: "kdfreightkdDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/kdfreightkd/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "config.expressSetting", flag: false },
  },
  {
    path: "/app/wlfreightwl/list",
    name: "wlfreightwl",
    component: (resolve) =>
      require([
        "../components/page/config/wlfreightwl/wlfreightwl.vue",
      ], resolve),
    meta: { title: "config.logisticsSetting", flag: false },
  },
  {
    path: "/wlfreightwlDeawer",
    name: "wlfreightwlDeawer",
    component: (resolve) =>
      require([
        "../components/page/config/wlfreightwl/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "config.logisticsSetting", flag: false },
  },
  {
    path: "/tableConfigList",
    name: "tableConfigList",
    component: (resolve) =>
      require(["../components/page/config/table/list"], resolve),
    meta: { title: "系统列表", flag: false },
  },
  {
    path: "/tableConfig",
    name: "tableConfig",
    component: (resolve) =>
      require(["../components/page/config/table/index"], resolve),
    meta: { title: "系统列表", flag: true },
  },
  {
    path: "/baSkuType",
    name: "baSkuType",
    component: (resolve) =>
        require([
          "../components/page/config/baSkuType/baSkuType.vue",
        ], resolve),
    meta: { title: "outbound.skuClass", flag: false },
  },
  {
    path: "/skuTypeGroup",
    name: "skuTypeGroup",
    component: (resolve) =>
        require(["../components/page/config/skuTypeGroup/skuTypeGroup.vue"], resolve),
    meta: {title: "outbound.skuType", flag: false},
  },
  {
    path: "/skuTypeGroupDrawer",
    name: "skuTypeGroupDrawer",
    component: (resolve) =>
        require(["../components/page/config/skuTypeGroup/drawer/skuTypeGroupDrawer.vue"], resolve),
    meta: {title: "outbound.skuType", flag: false}
  }
];
export default config;
